package com.milk.service;

import com.milk.dto.MilkteaDTO;
import com.milk.dto.MilkteaPageQueryDTO;
import com.milk.entity.Milktea;
import com.baomidou.mybatisplus.extension.service.IService;
import com.milk.result.PageResult;
import com.milk.vo.MilkteaVO;

import java.util.List;

/**
 * <p>
 * 奶茶 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface IMilkteaService extends IService<Milktea> {

    List<MilkteaVO> listCategoryId(Long id);

    MilkteaVO selectById(Long id);


    PageResult selectPageQuery(MilkteaPageQueryDTO dto);

    void insertMilktea(MilkteaDTO milkteaDTO);

    void deleteByIds(List<Long> ids);

    void updataMilktea(MilkteaDTO milkteaDTO);

    List<Milktea> selectNew();
}
